projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
065a118
)
(re_match_2_internal): Properly match raw 8-bit bytes
author
Andreas Schwab
<schwab@suse.de>
Mon, 17 Mar 2008 14:52:34 +0000
(14:52 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Mon, 17 Mar 2008 14:52:34 +0000
(14:52 +0000)
against a charset.
src/ChangeLog
patch
|
blob
|
history
src/regex.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index a5880e781a7326a929b839298072bb4407ab9e1c..8d3397c7834b9bda0f2f0112c4c96a1b976e0821 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,5
+1,8
@@
2008-03-17 Andreas Schwab <schwab@suse.de>
+ * regex.c (re_match_2_internal): Properly match raw 8-bit bytes
+ against a charset.
+
* lisp.h (Fbuffer_list): Declare.
2008-03-17 Jan Dj
\e
$(Q)Z
\e
(Brv <jan.h.d@swipnet.se>
diff --git
a/src/regex.c
b/src/regex.c
index 9f2a42b487074d23dc0b7887341cf18e8d26182f..eca78f2ab94309ec20df550e3b3c98168e49bf4e 100644
(file)
--- a/
src/regex.c
+++ b/
src/regex.c
@@
-5689,6
+5689,8
@@
re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop)
c = c1;
}
}
+ else
+ unibyte_char = true;
}
if (unibyte_char && c < (1 << BYTEWIDTH))